import diff from './diff'

// 旧的DOM元素默认就是容器的第一个子元素
export default function render(virtualDOM, container, oldDOM = container.firstChild) {
  diff(virtualDOM, container, oldDOM)
}
